﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VietThinks.Model;

namespace VietThinks.Mapping.Maps
{
    public class DomainEntityMap<TDomainEntity> : ImmutableDomainEntityMap<TDomainEntity>
        where TDomainEntity : DomainEntity<int>
    {
        public DomainEntityMap()
        {
            Not.ReadOnly();
            OptimisticLock.Version();
            Version(e => e.Version).Column("Version");
        }
    }
}
